<?php
namespace Home\Controller;
use Think\Controller;
use Think\Upload;
ob_end_clean();
header("content-type:text/html;charset=utf-8");
class UserTempController extends LoginTrueController {

    public function __construct()
    {
        parent::__construct();
        
        $this->LoginTrueTemp();
        
    }


    public function Remit(){
        $data['userid']=$_POST['loginname'];
        $data['nian']=$_POST['nian'];
        $data['yue']=$_POST['yue'];
        $data['ri']=$_POST['ri'];
        $data['shi']=$_POST['shi'];
        $data['fen']=$_POST['fen'];
        $data['jine']=$_POST['jine'];
        $data['xingming']=$_POST['xingming'];
        $data['yinhang']=$_POST['yinhang'];
        $data['tel']=$_POST['tel'];
        $data['zhanghao']=$_POST['zhanghao'];
        $data['content']=$_POST['content'];
        $data["adddate"]=date('Y-m-d H:i:s');


        if ($_POST && M('hkdengji')->add($data)) {
        
            }
        $this->assign("time",time());


        $this->display();


    }

    
    

}